package com.info.zhiduoduo.repository.dto.crowdsource;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class InvoiceDetailsDto {
	@ExcelProperty("开票方")
	@ApiModelProperty("开票方")
	private String drawer;

	@ExcelProperty("发票抬头")
	@ApiModelProperty("甲方企业名称")
	private String companyName;

	@ExcelProperty("纳税人识别号")
	@ApiModelProperty("纳税人识别号")
	private String taxpayerIdentificationNumber;

	@ExcelProperty("注册地址")
	@ApiModelProperty("企业地址")
	private String companyAddress;

	@ExcelProperty("企业联系电话")
	@ApiModelProperty("企业联系电话")
	private String companyContactNumber;

	@ExcelProperty("开户银行")
	@ApiModelProperty("开户行")
	private String bankOfDeposit;

	@ExcelProperty("账户")
	@ApiModelProperty("银行卡号")
	private String bankCardNumber;

	@ExcelProperty("发票金额")
	@ApiModelProperty("申请金额")
	private BigDecimal applyAmount;

	@ExcelProperty("申请时间")
	@ApiModelProperty("申请时间")
	private Date createtime;

	@ExcelProperty("发票内容")
	@ApiModelProperty("发票图片")
	private String invoiceContent;

	@ExcelProperty("收件人")
	@ApiModelProperty("收件人")
	private String addressee;

	@ExcelProperty("收件人电话")
	@ApiModelProperty("收件人电话")
	private String addresseePhone;

	@ExcelProperty("发票邮寄地址")
	@ApiModelProperty("发票邮寄地址")
	private String invoiceMailingAddress;

	@ExcelProperty("任务流水号")
	@ApiModelProperty("任务流水号")
	private String taskSerialNumber;

	@ExcelProperty("发票类型")
	@ApiModelProperty("发票类型")
	private String type = "专票";

	@ExcelIgnore
	@ApiModelProperty("发票图片")
	private String invoicePicture;

	@ExcelIgnore
	@ApiModelProperty("点位")
	private BigDecimal taxSourceCostRate;

}
